package demo3;

public class Test1 {
    public static void main(String[] args) {
        int count = 0;
        int k = 99;
        for (int i = 1; i < 100; i++) {
            int j = k--;
            while (j >= 0) {
                count++;
                j--;
            }
        }
        System.out.println(count);
    }
}
